package charpter14.lynx;


public class Eight {
	public static void main(String[] args) {
		listSuper(new Rhomboid());
	}

	public static void listSuper(Object o) {
		Class<?> c = o.getClass();
		while (c != null) {
			System.out.println(c.getName());
			c = c.getSuperclass();
		}
	}
}
